package com.practice.share.mapper;

import com.practice.share.model.pojo.CommentMessage;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface CommentMessageMapper extends Mapper<CommentMessage> {


    List<CommentMessage> getCommentById(@Param("articleId") Integer articleId);

    CommentMessage getCommentMessage(@Param("commentId") Integer commentId);
}